package com.ym.im.service.friendship.service;

import com.ym.im.common.ResponseVO;
import com.ym.im.service.friendship.model.req.ApproverFriendRequestReq;
import com.ym.im.service.friendship.model.req.FriendDto;
import com.ym.im.service.friendship.model.req.ReadFriendShipRequestReq;

public interface ImFriendShipRequestService {

    /**
     * 添加好友申请
     * @param fromId
     * @param dto
     * @param appId
     * @return
     */
    public ResponseVO addFriendShipRequest(String fromId, FriendDto dto, Integer appId);

    /**
     * 审批好友申请请求
     * @param req
     * @return
     */
    ResponseVO approveFriendRequest(ApproverFriendRequestReq req);
    ResponseVO readApproveFriendRequest(ReadFriendShipRequestReq req);
    ResponseVO getFriendRequest(String fromId, Integer appId);
}
